package dao;

import java.util.List;

import vo.Template;

public interface TemplateDAO extends GenericDao<Template, Long> {

	public List<Template> findAll();

	public List<Template> findBySourceId(long sourceId);

	public List<Template> findBySourceId(int start, int pageSize, long sourceId);

	public long findTotalCount();

	public long findTotalCount(long sourceId);

	public Template getById(long id);

	public void update(long id);

	public void delete(long id);// 不是真是删除

}
